package com.auxgroup.bridge.app.inner.dto;

import com.auxgroup.smarthome.regex.ValidatorUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;
import org.hibernate.validator.constraints.URL;

/**
 * Created by kevinchen on 2017/7/24.
 */
@ApiModel(value = "app用户请求实体信息")
public class AppUserDto {

    @ApiModelProperty( value = "用户昵称")
    private String nickName;
    @ApiModelProperty( value = "真实姓名")
    private String realName;
    @URL(regexp = ValidatorUtils.URL,message = "URL格式不正确")
    @ApiModelProperty( value = "用户头像URL地址")
    private String headImg;
    @ApiModelProperty( value = "性别，M（男）、F（女）、N（未知）")
    private String gender;
    @ApiModelProperty( value = "出生日期")
    private String birthday;
    @NotEmpty(message = "国家不能为空")
    @ApiModelProperty( value = "国家")
    private String country;
    @ApiModelProperty( value = "地区 如（ 中国）省、（美国）州、（泰国）府")
    private String region;
    @ApiModelProperty( value = "城市")
    private String city;
    @ApiModelProperty( value = "unionid")
    private String unionid;


    public AppUserDto() {
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }
}
